<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dia - 智能浏览器助手</title>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
            background-color: #f8f9fa;
        }
        .hero-background {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        }
        .ask-dia-link {
            color: #4f46e5;
            font-weight: 500;
            border-bottom: 1px dashed #4f46e5;
            cursor: pointer;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .mermaid-tooltip {
            background-color: white;
            border-radius: 4px;
            padding: 8px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            font-family: 'Noto Sans SC', sans-serif;
        }
    </style>
</head>
<body class="min-h-screen">
    <!-- Hero Section -->
    <section class="hero-background text-white">
        <div class="container mx-auto px-6 py-20 md:py-32 max-w-4xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4 leading-tight">
                        <span class="block">Dia</span>
                        <span class="text-indigo-200">智能浏览器助手</span>
                    </h1>
                    <p class="text-lg md:text-xl mb-8 opacity-90">
                        一款由[The Browser Company](ask://ask/The+Browser+Company)打造的AI助手，为您提供即时、精准的知识解答和个性化服务。
                    </p>
                    <div class="flex space-x-4">
                        <button class="bg-white text-indigo-600 px-6 py-3 rounded-lg font-medium hover:bg-indigo-50 transition duration-300">
                            立即体验 <i class="fas fa-arrow-right ml-2"></i>
                        </button>
                        <button class="bg-transparent border border-white text-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:bg-opacity-10 transition duration-300">
                            了解更多
                        </button>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative w-64 h-64 md:w-80 md:h-80 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                        <div class="w-48 h-48 md:w-64 md:h-64 bg-white bg-opacity-10 rounded-full flex items-center justify-center">
                            <i class="fas fa-robot text-6xl md:text-8xl text-white opacity-90"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Dia 的核心能力</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    Dia 不仅仅是普通的问答助手，它能理解上下文，提供精确、全面的信息解答。
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="feature-card bg-white p-8 rounded-xl shadow-lg transition duration-300">
                    <div class="w-16 h-16 bg-indigo-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-brain text-3xl text-indigo-600"></i>
                    </div>
                    <h3 class="text-xl font-bold text-gray-800 mb-3">智能问答</h3>
                    <p class="text-gray-600">
                        针对复杂问题提供结构化解答，包括[科学](ask://ask/科学)、[历史](ask://ask/历史)、[技术](ask://ask/技术)等广泛领域。
                    </p>
                </div>
                
                <div class="feature-card bg-white p-8 rounded-xl shadow-lg transition duration-300">
                    <div class="w-16 h-16 bg-blue-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-link text-3xl text-blue-600"></i>
                    </div>
                    <h3 class="text-xl font-bold text-gray-800 mb-3">智能链接</h3>
                    <p class="text-gray-600">
                        通过[Ask Dia 链接](ask://ask/Ask+Dia+链接)让您可以一键探索相关主题，像浏览[维基百科](ask://ask/维基百科)一样轻松。
                    </p>
                </div>
                
                <div class="feature-card bg-white p-8 rounded-xl shadow-lg transition duration-300">
                    <div class="w-16 h-16 bg-purple-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fas fa-image text-3xl text-purple-600"></i>
                    </div>
                    <h3 class="text-xl font-bold text-gray-800 mb-3">视觉辅助</h3>
                    <p class="text-gray-600">
                        在适当情况下提供[图片](ask://ask/图片)和[视频](ask://ask/视频)辅助理解，增强信息传达效果。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- How It Works Section -->
    <section class="py-16 bg-gray-50">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Dia 工作原理</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    深入了解 Dia 如何处理您的查询并提供精准答案
                </p>
            </div>
            
            <div class="relative">
                <div class="absolute left-1/2 transform -translate-x-1/2 h-full w-1 bg-gray-200 hidden md:block"></div>
                
                <!-- Step 1 -->
                <div class="flex flex-col md:flex-row items-center mb-12">
                    <div class="md:w-1/2 md:pr-16 mb-8 md:mb-0 order-1 md:order-1">
                        <div class="bg-white p-6 rounded-lg shadow-md">
                            <h3 class="text-xl font-bold text-gray-800 mb-3">1. 接收查询</h3>
                            <p class="text-gray-600">
                                您输入问题后，Dia 首先分析问题的类型和意图。它会识别关键词如[科学概念](ask://ask/科学概念)或[历史事件](ask://ask/历史事件)，并确定最适合的回答格式。
                            </p>
                        </div>
                    </div>
                    <div class="md:w-1/2 flex justify-center order-2 md:order-2">
                        <div class="w-16 h-16 bg-indigo-600 rounded-full flex items-center justify-center text-white text-2xl font-bold">
                            1
                        </div>
                    </div>
                </div>
                
                <!-- Step 2 -->
                <div class="flex flex-col md:flex-row items-center mb-12">
                    <div class="md:w-1/2 md:pl-16 mb-8 md:mb-0 order-1 md:order-2">
                        <div class="bg-white p-6 rounded-lg shadow-md">
                            <h3 class="text-xl font-bold text-gray-800 mb-3">2. 知识检索</h3>
                            <p class="text-gray-600">
                                Dia 访问其庞大的知识库，查找与您问题相关的信息。对于技术性问题会优先考虑[编程语言](ask://ask/编程语言)文档，而对文化类问题则参考[艺术史](ask://ask/艺术史)资料。
                            </p>
                        </div>
                    </div>
                    <div class="md:w-1/2 flex justify-center order-2 md:order-1">
                        <div class="w-16 h-16 bg-blue-600 rounded-full flex items-center justify-center text-white text-2xl font-bold">
                            2
                        </div>
                    </div>
                </div>
                
                <!-- Step 3 -->
                <div class="flex flex-col md:flex-row items-center mb-12">
                    <div class="md:w-1/2 md:pr-16 mb-8 md:mb-0 order-1 md:order-1">
                        <div class="bg-white p-6 rounded-lg shadow-md">
                            <h3 class="text-xl font-bold text-gray-800 mb-3">3. 结构化输出</h3>
                            <p class="text-gray-600">
                                根据查询复杂度，Dia 会选择合适的格式：简单问题提供[简明答案](ask://ask/简明答案)，复杂主题则使用[思维导图](ask://ask/思维导图)或[表格](ask://ask/表格)呈现。
                            </p>
                        </div>
                    </div>
                    <div class="md:w-1/2 flex justify-center order-2 md:order-2">
                        <div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center text-white text-2xl font-bold">
                            3
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Data Visualization Section -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="text-center mb-12">
                <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Dia 的知识关联网络</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    探索 Dia 如何通过智能链接将不同知识领域相互关联
                </p>
            </div>
            
            <div class="bg-gray-50 p-6 rounded-xl shadow-inner">
                <div class="mermaid">
                    graph TD
                    A[Dia 智能助手] --> B[知识检索]
                    A --> C[问题分析]
                    A --> D[回答生成]
                    
                    B --> E[科学领域]
                    B --> F[技术领域]
                    B --> G[人文艺术]
                    
                    E --> E1[物理学]
                    E --> E2[生物学]
                    E --> E3[化学]
                    
                    F --> F1[编程]
                    F --> F2[人工智能]
                    F --> F3[网络安全]
                    
                    G --> G1[历史]
                    G --> G2[文学]
                    G --> G3[音乐]
                    
                    click A "ask://ask/Dia+智能助手"
                    click B "ask://ask/知识检索"
                    click C "ask://ask/问题分析"
                    click D "ask://ask/回答生成"
                    click E "ask://ask/科学领域"
                    click F "ask://ask/技术领域"
                    click G "ask://ask/人文艺术"
                </div>
            </div>
            
            <div class="mt-8 text-center">
                <p class="text-gray-600">
                    点击图中的节点可以了解更多关于[各个知识领域](ask://ask/各个知识领域)的信息
                </p>
            </div>
        </div>
    </section>

    <!-- Example Query Section -->
    <section class="py-16 bg-indigo-50">
        <div class="container mx-auto px-6 max-w-5xl">
            <div class="text-center mb-12">
                <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Dia 回答示例</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">
                    看看 Dia 如何优雅地回答不同类型的问题
                </p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                <!-- Example 1 -->
                <div class="bg-white p-6 rounded-xl shadow-lg">
                    <div class="flex items-center mb-4">
                        <div class="w-10 h-10 bg-indigo-100 rounded-full flex items-center justify-center mr-4">
                            <i class="fas fa-user text-indigo-600"></i>
                        </div>
                        <h3 class="text-lg font-bold text-gray-800">用户提问</h3>
                    </div>
                    <p class="bg-gray-50 p-4 rounded-lg mb-4 italic text-gray-700">
                        "什么是弦理论？"
                    </p>
                    
                    <div class="flex items-center mb-4">
                        <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-4">
                            <i class="fas fa-robot text-green-600"></i>
                        </div>
                        <h3 class="text-lg font-bold text-gray-800">Dia 回答</h3>
                    </div>
                    <div class="bg-green-50 p-4 rounded-lg">
                        <p class="font-bold mb-3">弦理论是一种试图将自然界的基本粒子和基本相互作用统一描述的理论框架。</p>
                        <p class="mb-2">• 基本观点：认为构成物质的基本单元不是点状粒子，而是一维的"弦"</p>
                        <p class="mb-2">• 主要分支：包括[超弦理论](ask://ask/超弦理论)和[M理论](ask://ask/M理论)</p>
                        <p class="mb-2">• 数学工具：高度依赖[微分几何](ask://ask/微分几何)和[拓扑学](ask://ask/拓扑学)</p>
                    </div>
                </div>
                
                <!-- Example 2 -->
                <div class="bg-white p-6 rounded-xl shadow-lg">
                    <div class="flex items-center mb-4">
                        <div class="w-10 h-10 bg-indigo-100 rounded-full flex items-center justify-center mr-4">
                            <i class="fas fa-user text-indigo-600"></i>
                        </div>
                        <h3 class="text-lg font-bold text-gray-800">用户提问</h3>
                    </div>
                    <p class="bg-gray-50 p-4 rounded-lg mb-4 italic text-gray-700">
                        "告诉我纽约布鲁克林的Fort Greene区"
                    </p>
                    
                    <div class="flex items-center mb-4">
                        <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-4">
                            <i class="fas fa-robot text-green-600"></i>
                        </div>
                        <h3 class="text-lg font-bold text-gray-800">Dia 回答</h3>
                    </div>
                    <div class="bg-green-50 p-4 rounded-lg">
                        <p class="font-bold mb-3">Fort Greene是布鲁克林一个充满活力的历史街区。</p>
                        <p class="mb-2">• 地理位置：位于[布鲁克林](ask://ask/布鲁克林)西北部，毗邻[布鲁克林高地](ask://ask/布鲁克林高地)</p>
                        <p class="mb-2">• 地标建筑：拥有19世纪的褐石建筑和著名的[Fort Greene公园](ask://ask/Fort+Greene公园)</p>
                        <p class="mb-2">• 文化特色：以其多元文化、艺术氛围和美食场景闻名</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="py-20 hero-background text-white">
        <div class="container mx-auto px-6 max-w-4xl text-center">
            <h2 class="text-3xl md:text-4xl font-bold mb-6">准备好体验智能助手的力量了吗？</h2>
            <p class="text-xl mb-8 opacity-90 max-w-2xl mx-auto">
                Dia 将彻底改变您获取信息和与数字世界互动的方式
            </p>
            <button class="bg-white text-indigo-600 px-8 py-4 rounded-lg font-bold text-lg hover:bg-indigo-50 transition duration-300">
                立即下载 Dia 浏览器 <i class="fas fa-download ml-2"></i>
            </button>
        </div>
    </section>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            },
            themeVariables: {
                primaryColor: '#E5E7EB',
                primaryTextColor: '#111827',
                primaryBorderColor: '#D1D5DB',
                lineColor: '#9CA3AF',
                fontSize: '16px'
            }
        });
        
        // 为所有Ask Dia链接添加点击事件
        document.querySelectorAll('.ask-dia-link').forEach(link => {
            link.addEventListener('click', function(e) {
                e.preventDefault();
                alert('模拟点击Ask Dia链接: ' + this.getAttribute('href'));
            });
        });
    </script>
</body>
</html>